package com.wn.main.di

import com.wn.common.model.Banner
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.android.components.ActivityComponent
import dagger.hilt.android.scopes.ActivityScoped

/**
 * @Author: wn
 * @Date: 2024/10/11 15:46
 * @Description: 提供 BannerAdapter 构造函数 所需的  MutableList<Banner>
 */
@Module
@InstallIn(ActivityComponent::class)
object BannerAdapterModule {
  @ActivityScoped
  @Provides
  fun provideBannerList(): MutableList<Banner> = mutableListOf()
}